package com.wjq.boot.entity;

import com.wjq.boot.core.Base;
import java.io.Serializable;
import lombok.*;

/**
 * <p>
 * 角色表
 * </p>
 *
 * @author wangjiaquan
 * @since 2024-08-07
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@ToString
public class Role extends Base {

    private static final long serialVersionUID = 1L;

    /**
     * 角色名称
     */
    private String name;

    /**
     * 角色说明
     */
    private String description;

    /**
     * 状态
     */
    private Boolean state;

    /**
     * 头像
     */
    private String icno;

    public Role(String name, String description, String icno) {
        this.name = name;
        this.description = description;
        this.icno = icno;
    }

    public Role(String description, String name) {
        this.description = description;
        this.name = name;
    }
}
